package oa.hleast.xswl.service;


import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import oa.hleast.xswl.pojo.domain.SysMenu;
import oa.hleast.xswl.pojo.vo.MenuVO;
import oa.hleast.xswl.pojo.vo.RouterVO;
import oa.hleast.xswl.pojo.vo.TreeVO;

import java.util.List;

/**
 * @Author 00209
 * @Date 2021/03/01 22:01:45
 */
public interface ISysMenuService extends IService<SysMenu> {

    List<MenuVO> listMenuVO(LambdaQueryWrapper<SysMenu> baseQuery);

    List<TreeVO> listTreeVO(LambdaQueryWrapper<SysMenu> baseQuery);

    List<RouterVO> listRouterVO();

    Boolean automationAddMenu(SysMenu sysMenu);
    Long automationAddOrUpdateMenu(SysMenu sysMenu);
}
